package com.qingsong.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author qingsong
 */
@Schema(description = "部门添加DTO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DeptInsertDTO implements Serializable {

    @NotEmpty(message = "部门名称不能为空!")
    @Schema(description = "部门名称")
    private String title;

    @NotEmpty(message = "部门描述不能为空!")
    @Schema(description = "部门描述")
    private String info;

    private  Long fkRoomId;

    private Integer deleted;



}

